package cn.thens.kdroid.core.log

interface LogInterface {
    fun tag(tag: String): LogInterface
    fun isLoggable(priority: Int, tag: String): Boolean
    fun log(priority: Int, fn: () -> String): LogInterface
    fun debug(any: Any?): LogInterface
    fun warn(any: Any?): LogInterface
    fun error(any: Any?): LogInterface
    fun wtf(sure: Boolean, message: String): LogInterface
    fun time(name: String): LogInterface
    fun count(name: String): LogInterface
    fun memory(): LogInterface
    fun trace(): LogInterface
}